import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.scss';
import 'normalize.css'

// 引入router 挂载到页面上
import router from './router';
import {RouterProvider} from 'react-router-dom'

// redux 第三步配置
import store from './store';

import { Provider } from 'react-redux'

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  //开启严格模式标签
  // <React.StrictMode>
  // </React.StrictMode>
      <Provider store={store}>
      <RouterProvider router={router} />
      </Provider>
);


